//
//  ZYHomeBillTableViewCell.m
//  ZYOils
//
//  Created by 段新瑞 on 2019/9/30.
//  Copyright © 2019 Mr.Xr. All rights reserved.
//

#import "ZYHomeBillTableViewCell.h"

@interface ZYHomeBillTableViewCell()

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *monryLabel;

@end

@implementation ZYHomeBillTableViewCell

- (void)setModel:(ZYBillInfoMode *)model {
    _model = model;
    
    self.nameLabel.text = model.goodsName;
    
    self.timeLabel.text = model.payTime;
    
    self.monryLabel.text = [NSString stringWithFormat:@"+%@", model.price];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
